﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XSTDZ.ERP.Core.Entities;

namespace XSTDZ.ERP.Domain.Models
{
    using System;
    using System.Collections.Generic;
    using XSTDZ.ERP.Core.Entities;

    public partial class Stu //: XSTDZ.ERP.Core.Entities.AggreateRoot// AggreateRoot
    {
        public Stu()
        {
             this.ReturnBillDetail = new HashSet<ReturnBillDetail>();
        }

        public System.Guid ReturnBillID { get; set; }
        public string ReturnBillNo { get; set; }
        public System.Guid StorehouseID { get; set; }
        public System.Guid ReturnBillorID { get; set; }
        public System.DateTime ReturnTime { get; set; }
        public System.Guid SenderID { get; set; }
        public System.Guid DeliveryID { get; set; }
        public int AffirmState { get; set; }
        public Nullable<System.Guid> AffirmorID { get; set; }
        public Nullable<System.DateTime> AffirmDate { get; set; }
        public int BillState { get; set; }
        public int IsSettle { get; set; }
        public int Deleted { get; set; }
        public System.Guid CreateID { get; set; }
        public System.DateTime CreateTime { get; set; }
        public Nullable<System.Guid> UpdateID { get; set; }
        public Nullable<System.DateTime> UpdateDate { get; set; }
        public string Remarks { get; set; }

        public virtual ICollection<ReturnBillDetail> ReturnBillDetail { get; set; }
    }
}
